<?php
/**
 * File:loginView.php
 * @author: CIS505 TEAM 1
 * @version: 2012-11-29
 * Purpose: display login form
 */

/**
 * uses HEREDOC format for form display
 */

echo <<<_END
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

  <head>
    <title>Internship Listing</title>
    
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="css/i2c.css" type="text/css" />
  </head> <!-- end head -->

  <body onLoad="document.forms.loginForm.userName.focus()">
    <div id="headContainer">

      <div id="header">

        <div id="logo"></div> <!-- end #logo -->

        <div id="login">
          <form method="post" action="index.php" name="loginForm">
              User Name: <input type="text" name="userName" />
               Password: <input type="password" name="password" id="password" />
              <input type="submit" name="submitBttn" value="Login" />
          </form>
        </div> <!-- end #login -->

      </div> <!-- end #header -->

    </div> <!-- end #headContainer -->



    <div id="loginNav">
    </div> <!-- end #loginNav -->
    <div id="wrapper">

    </div> <!-- end #wrapper -->
  </body> <!-- end body -->
</html> <!-- end html -->

_END;

?>